import Layout from '@/layout'

// 云仓管理路由
export const cStorageRoutes = [
    {
      path: '/cStorage',
      component: Layout,
      redirect:'warehouseIn/sceneWarehouseIn',
      children: [
        //我的库存
        {
          path: 'stock/detail',
          component: () => import('@/views/cStorage/stock/detail'),
          name: 'CStock',
          meta: { title: '库存明细', noCache: false}
        },
        //入仓
        {
          path: 'warehouseIn/sceneWarehouseIn',
          component: () => import('@/views/cStorage/warehouseIn/sceneWarehouseIn'),
          name: 'CSceneWarehouseIn',
          meta: { title: '入仓办单', noCache: false}
        },
        {
          path: 'warehouseIn/warehouseInDetail',
          component: () => import('@/views/cStorage/warehouseIn/warehouseInDetail'),
          name: '   CWarehouseInDetail',
          meta: { title: '入仓详情', noCache: false }
        },
        //出仓
        {
          path: 'warehouseOut/sceneWarehouseOut',
          component: () => import('@/views/cStorage/warehouseOut/sceneWarehouseOut'),
          name: 'CSceneWarehouseOut',
          meta: { title: '出仓办单', noCache: false }
        },
        {
          path: 'warehouseOut/warehouseOutDetail',
          component: () => import('@/views/cStorage/warehouseOut/warehouseOutDetail'),
          name: 'CWarehouseOutDetail',
          meta: { title: '出仓详情', noCache: false }
        },
      ]
    },
  ]
